package com.eicas;

import com.strategy.IStrategy;

public class D implements IStrategy {
    @Override
    public void strategyMethod() {
        doSayHello();
    }

    private void doSayHello() {
        System.out.println("D say hello!");
    }
}
